{extend name="user_base" /} {block name="seo"}
<title>修改资料 - {$site_config['seo_title']}</title>
<meta name="keywords" content="{$site_config['seo_keyword']}">
<meta name="description" content="{$site_config['seo_description']}">
{/block}
{block name="css"}
{/block}
{block name="body"}
<div class="page page-current" id="u-change">
    <header id="header" class="clearfix theader baise">
        <a href="/user/index.html" class="back iconfont icon-fanhui"></a>
        <h3 class="titlea">修改资料</h3>
    </header>
    <!-- 这里是页面内容区 -->
    <div class="content">
        <ul class="change-list">
            <li>
                <a class="clearfix changeImg">
                    <span class="left">头像</span>
                    <div class="right">
                        <span class="cont"><img src="{$user.avatar}" onerror="this.src='__HOME__/images/a3o.png'" class="user-img" /></span>
                        <i class="iconfont icon-gengduo"></i>
                    </div>
                </a>
            </li>
            <li>
                <a class="clearfix username">
                    <span class="left">登录用户名</span>
                    <div class="right">
                        <span class="cont">{$user.username}</span>
                        <i class="iconfont icon-gengduo"></i>
                    </div>
                </a>
            </li>
            <li>
                <a class="clearfix nick">
                    <span class="left">我的昵称</span>
                    <div class="right">
                        <span class="cont">{$user.nickname}</span>
                        <i class="iconfont icon-gengduo"></i>
                    </div>
                </a>
            </li>
            <li>
                <a class="clearfix" id="gender">
                    <span class="left">性别</span>
                    <div class="right">
                        <span class="cont"><i class="iconfont genico icon-{if $user.sex eq 1}nv{else /}nan{/if}"></i></span>
                        <i class="iconfont icon-gengduo"></i>
                    </div>
                </a>
            </li>
            <li>
                <a class="clearfix myqq">
                    <span class="left">我的QQ</span>
                    <div class="right">
                        <span class="cont">{$user.qq_id}</span>
                        <i class="iconfont icon-gengduo"></i>
                    </div>
                </a>
            </li>
            <li>
                <a class="clearfix" href="/user/intro.html">
                    <span class="left">我的简介</span>
                    <div class="right">
                        <span class="cont">{$user.description}</span>
                        <i class="iconfont icon-gengduo"></i>
                    </div>
                </a>
            </li>
            <li>
                <a class="clearfix" href="/user/change_gexin.html">
                    <span class="left">个性推广</span>
                    <div class="right">
                        <i class="iconfont icon-gengduo"></i>
                    </div>
                </a>
            </li>
        </ul>
        <ul class="change-list">
            <li>
                <a class="clearfix" href="/user/safe.html">
                    <span class="left">安全绑定</span>
                    <div class="right">
                        <i class="iconfont icon-gengduo"></i>
                    </div>
                </a>
            </li>
            <li>
                <a class="clearfix" href="/user/changepass.html">
                    <span class="left">修改密码</span>
                    <div class="right">
                        <i class="iconfont icon-gengduo"></i>
                    </div>
                </a>
            </li>
            <li>
                <a class="clearfix " href="javaScript:exit();">
                    <span class="left">退出</span>
                    <div class="right">
                        <i class="iconfont icon-gengduo"></i>
                    </div>
                </a>
            </li>
        </ul>
    </div>
    <!-- 头像裁剪 -->
    <div class="popup popup-trim">
        <div class="content-block">
            <iframe src="/user/trim.html" id="trim"></iframe>
        </div>
    </div>
</div>
{/block}